package com.youan.serve.controller.swagger;

import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import java.util.List;
import com.youan.serve.dao.domain.Log;

import javax.validation.Valid;
import javax.validation.constraints.NotBlank;
import org.springframework.validation.annotation.Validated;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
/**
* <p>
    *  swagger接口描述文件
    * </p>
*
* @author auto_code
* @since 2020-03-12
*/
@Api(tags = "Log管理接口")
@Validated
public interface LogControllerSwagger {

    @ApiOperation(value = "新增一个Log实例")
    Log addLog(@Validated Log log);

    @ApiOperation(value = "修改一个Log实例")
    Log updateLog(@Validated Log log);

    @ApiOperation(value = "获取所有Log实例")
    List<Log> selectAllLog();

    @ApiOperation(value = "根据主键删除一个Log实例")
    void deleteLogByLogId(@NotBlank  String logId);

    @ApiOperation(value = "根据主键获取Log实例")
    Log selectLogByLogId(@NotBlank  String logId);

    @ApiOperation(value = "根据例子获取Log实例")
    List<Log> selectLogsByExample(Log log);

    @ApiOperation(value = "分页获取Log实体")
    Page<Log> selectLogPageable(Page page);

    @ApiOperation(value = "根据例子分页获取Log实例")
    Page<Log> selectLogsByExamplePageable(Page<Log> page, Log log);

}

